<?php
    $serverpath=$_SERVER['DOCUMENT_ROOT'];
	include ($serverpath.'/Classes/section.php');
	//serializacion
	$serialize_section = file_get_contents('store_searchbook');
	$section = unserialize($serialize_section);
	//seteo de variables
	$section->set_section($_POST['section']);
	
	//persistencia del obj
	$section->savetofile($section->getSection());
	$serialize_section = serialize($book);
	file_put_contents('store_searchbook',$serialize_section);
	
?>